package com.wysql.ascost.model.auto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class Unit implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "")
    private String id;

    @ApiModelProperty(value = "单位id")
    private String unitId;

    @ApiModelProperty(value = "单位名称")
    private String unitName;

    @ApiModelProperty(value = "单位别名")
    private String unitAlias;

    public Unit(String id, String unitId, String unitName, String unitAlias) {

        this.id = id;

        this.unitId = unitId;

        this.unitName = unitName;

        this.unitAlias = unitAlias;

    }

    public Unit() {
        super();
    }

    @JsonProperty("id")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @JsonProperty("unitId")
    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }

    @JsonProperty("unitName")
    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    @JsonProperty("unitAlias")
    public String getUnitAlias() {
        return unitAlias;
    }

    public void setUnitAlias(String unitAlias) {
        this.unitAlias = unitAlias;
    }


}